package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


/**
 * The persistent class for the PS_C_FAMILY_TBL database table.
 * 
 */
@Entity
@Table(name="PS_C_FAMILY_TBL")
@NamedQuery(name="PsCFamilyTbl.findAll", query="SELECT p FROM PsCFamilyTbl p")
@IdClass(PsCPersonalInfoClass.class)
public class PsCFamilyTbl extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_COMPANY")
	private String cCompany;

	@Column(name="C_FAMILY_SEX")
	private String cFamilySex;

	@Column(name="C_NAME")
	private String cName;

	@Column(name = "C_LOCATION_DESCR")
	private String cLocationDescr;

	@Column(name="C_PHONE")
	private String cPhone;

	@Column(name="C_POSITION")
	private String cPosition;

	@Column(name="C_RELATION_FAM")
	private String cRelationFam;

	@Id
	@Column(name="C_SEQNO")
	@GeneratedValue(strategy = GenerationType.SEQUENCE,generator="PS_C_FAMILY_SEQNO")
	@SequenceGenerator(name="PS_C_FAMILY_SEQNO",sequenceName="PS_C_FAMILY_SEQNO",allocationSize = 1)
	private BigDecimal cSeqno;

	@Id
	@Column(name="EMPLID")
	private String emplid;

	public PsCFamilyTbl() {
	}

	public String getcCompany() {
		return cCompany;
	}

	public void setcCompany(String cCompany) {
		this.cCompany = cCompany;
	}

	public String getcFamilySex() {
		return cFamilySex;
	}

	public void setcFamilySex(String cFamilySex) {
		this.cFamilySex = cFamilySex;
	}

	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	public String getcPhone() {
		return cPhone;
	}

	public void setcPhone(String cPhone) {
		this.cPhone = cPhone;
	}

	public String getcPosition() {
		return cPosition;
	}

	public void setcPosition(String cPosition) {
		this.cPosition = cPosition;
	}

	public String getcRelationFam() {
		return cRelationFam;
	}

	public void setcRelationFam(String cRelationFam) {
		this.cRelationFam = cRelationFam;
	}

	public BigDecimal getcSeqno() {
		return cSeqno;
	}

	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}

	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getcLocationDescr() {
		return cLocationDescr;
	}

	public void setcLocationDescr(String cLocationDescr) {
		this.cLocationDescr = cLocationDescr;
	}
}